package com.qianxun.init.properties;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云oss属性文件
 * @author: huwei
 * @date: 2019/12/6 15:13
 * @version: 1.0.0
 */
@Data
@Component
@Accessors(chain = true)
@ConfigurationProperties(prefix = "oss")
public class AliyunOssProperties {
    /**
     * 阿里云oss服务器地址
     */
    private String endpoint;
    /**
     * 阿里云key id
     */
    private String accessKeyId;
    /**
     * 阿里云访问Secret
     */
    private String accessKeySecret;
    private String bucketName;
    private String cdn;

    private String root;
}
